增倍镜和调焦器均不升等级 和会员权益。

FFIB 4 years ago
parent
commit
215c831726
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/mch_views.py

+ 1 - 1
api/mch_views.py

@@ -450,7 +450,7 @@ def consumer_info_api(request):
450 450
         user.integral += model.shot_member_integral
451 451
         # 配件不增加会员等级,只发放积分。
452 452
         to_send_coupon = False
453
-        if user.level < UserInfo.MEMBER_BLACK_GOLD and model.shot_type_id != 'V6PkivthL4sdADp4GNpQ4C':
453
+        if user.level < UserInfo.MEMBER_BLACK_GOLD and model.category != '调焦器' and model.category !='增倍镜':
454 454
             user.level += 1
455 455
             to_send_coupon = True
456 456
         user.save()